#include "GlobalHead.h"
#include "CompleteApp.h"
#include "part/AppPart.h"

using namespace App;

CompleteApp* CompleteApp::_singleton = 0;

CompleteApp::CompleteApp(void)
{
}

CompleteApp::~CompleteApp(void)
{
}

CompleteApp* CompleteApp::Instance()
{
	if(_singleton == 0)
		_singleton = new CompleteApp;
	return _singleton;
}

void CompleteApp::destruct()
{
	AppPart::destruct();

	delete _singleton;
	_singleton = NULL;

}

void CompleteApp::InitCompleteApp()
{
	AppPart::Instance()->initPart();
}
